Companion

object Companion

Contains declarations for holding or building a StrictlyPositiveInt.

Functions

Link copied to clipboard
@Since(version = KotoolsTypesVersion.V3_0_0)
fun random(): StrictlyPositiveInt

Returns a random StrictlyPositiveInt.

Properties

Link copied to clipboard

The maximum value a StrictlyPositiveInt can have.

Link copied to clipboard

The minimum value a StrictlyPositiveInt can have.

Extensions

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_4_0)
val StrictlyPositiveInt.Companion.range: NotEmptyRange<StrictlyPositiveInt>

The range of values a StrictlyPositiveInt can have.